from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.researchevent import researcheventMessageFactory as _


class IResearchEvent(Interface):
    """a event type for research department"""

    # -*- schema definition goes here -*-
    comment = schema.Text(
        title=_(u"comments"),
        required=False,
        description=_(u"additional comments"),
    )
#
    text = schema.Text(
        title=_(u"Body text"),
        required=False,
        description=_(u"Body text"),
    )
#
    occurrencetime = schema.Date(
        title=_(u"Occurrence time"),
        required=True,
        description=_(u"Occurrence time"),
    )
#
    lgtd = schema.TextLine(
        title=_(u"longitude"),
        required=False,
        description=_(u"longitude"),
    )
#
    latd = schema.TextLine(
        title=_(u"latitude"),
        required=False,
        description=_(u"latitude"),
    )
#
    depth = schema.TextLine(
        title=_(u"Earthquake depth"),
        required=False,
        description=_(u"depth of earthquake source"),
    )

#
    area = schema.TextLine(
        title=_(u"Earthquake area"),
        required=True,
        description=_(u"Earthquake area"),
    )
#
    earthquakelevel = schema.TextLine(
        title=_(u"Earthquake Level"),
        required=False,
        description=_(u"Earthquake level"),
    )
#
